package com.lxk.vo;

import java.util.List;

/**
 * @author JohnSoybean
 * @create 2020/3/23 15:47
 * @description
 */
public class PageModel<T> {
    private List<T> list;
    private Integer num;
    private Integer pageIndex;
    private Integer totalPages;

    public List<T> getList() {
        return list;
    }
    public void setList(List<T> list) {
        this.list = list;
    }
    public Integer getNum() {
        return num;
    }
    public void setNum(Integer num) {
        this.num = num;
    }
    public Integer getPageIndex() {
        return pageIndex;
    }
    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }
    public Integer getTotalPages() {
        return totalPages;
    }
    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    @Override
    public String toString() {
        return "PageModel{" +
                "list=" + list +
                ", num=" + num +
                ", pageIndex=" + pageIndex +
                ", totalPages=" + totalPages +
                '}';
    }
}

